import 'virtual:svg-icons-register'
import SvgIcon from './svg-icon/SvgIcon.vue'
import SwitchApplication from './switch-application/SwitchApplication.vue'
import AutoTooltip from './auto-tooltip/AutoTooltip.vue'
import DynamicTitle from './dynamic-title/DynamicTitle.vue'
import MenuCollapse from './menu-collapse/MenuCollapse.vue'
import NavNotice from './nav-notice/NavNotice.vue'
import NavSearchbar from './nav-searchbar/NavSearchbar.vue'
import BasePage from './base-page/BasePage.vue'
import BaseTable from './base-table/BaseTable.vue'
import BaseDialog from './base-dialog/BaseDialog.vue'
import BaseDrawer from './base-drawer/BaseDrawer.vue'
import BaseApprove from './base-approve/BaseApprove.vue'
import BaseImportBox from './base-import-box/BaseImportBox.vue'
import BasePersonSelect from './base-person-select/BasePersonSelect.vue'
import BasePlanet from './base-planet/BasePlanet.vue'

/**
 * components 根据需要进行配置
 */
export default (app: any) => {
  app.component('SvgIcon', SvgIcon)
  app.component('SwitchApplication', SwitchApplication)
  app.component('AutoTooltip', AutoTooltip)
  app.component('DynamicTitle', DynamicTitle)
  app.component('MenuCollapse', MenuCollapse)
  app.component('NavNotice', NavNotice)
  app.component('NavSearchbar', NavSearchbar)
  app.component('BasePage', BasePage)
  app.component('BaseTable', BaseTable)
  app.component('BaseDialog', BaseDialog)
  app.component('BaseDrawer', BaseDrawer)
  app.component('BaseApprove', BaseApprove)
  app.component('BaseImportBox', BaseImportBox)
  app.component('BasePersonSelect', BasePersonSelect)
  app.component('BasePlanet', BasePlanet)
}
